﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TransCend.Model
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    [Serializable]
    public class TableAttribute : Attribute
    {
        public string Name { get; set; }

        private bool _cache = false;
        public bool Cache
        {
            get { return _cache; }
            set { _cache = value; }
        }

        public TableAttribute(string tableName) { this.Name = tableName; }
    }
}
